#ruby$B$G(BBot$B$r<B9T!"%m%0$O(B2Log.txt$B$K=PNO(B
fullpath=$0
filename=`basename $0`
location=`echo $fullpath | sed "s/$filename//"`

#Run Bot Script
echo $location > 4.txt
cd `echo $location`
#/usr/bin/ruby `echo $location`BotMain.rb 2>> `echo $location`2ErrorLog.txt 1>> `echo $location`3RunLog.txt
/usr/bin/ruby BotMain.rb 2>> ErrorLog.txt 1>> 3RunLog.txt

#crontab$B$N@_DjNc!J#1#0J,CV$-$K<B9T!K(B
#%crontab -e $B$r<B9T$9$k$H(Bvi$B$HF1$8JT=8J}K!$G@_Dj$G$-$k(B
#*/10 * * * * $B@dBP%Q%9(B/libro-twitter-bot/1RunBot.sh
